package com.bt.design.dao.jpa;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import com.bt.design.entity.TaskInfo;

/**
 * jpa测试
 * 
 * @author zyye
 *
 */
public interface ITaskInfoJpaDao extends JpaRepository<TaskInfo, Long> {

	public List<TaskInfo> findByIds(String ids);

//	public List<TaskInfo> findByResourceIdAndExchangeType(String resourceId, Integer exchangeType);
//
//	@Query(value = "from TaskInfo where concat(',',ids, ',') like :ids")
//	public List<TaskInfo> findByIdsLike(@Param("ids") String ids);
}
